package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import cn.e4j.core.util.DateUtils;
import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.time.LocalDate;
import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author shixc
 * @since 2019-01-16
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWER_T")
public class GwerT extends PO<GwerT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWERENT", type = IdType.INPUT)
    private String GWERENT;
    private String GWER001;
    private String GWER002;
    private String GWER003;
    private String GWER004;
    private Double GWER005;
    private Double GWER006;
    private Double GWER007;
    private Double GWER008;
    private Double GWER009;
    private Double GWER010;
    private String GWER011;
    private String GWER012;
    private String GWER101;
    private String GWER102;
    private String GWER103;
    private String GWER104;
    private String GWER105;
    private String GWER106;
    private String GWER107;
    private String GWER108;
    private String GWERPLANT;
    private String GWERLEGAL;
    private String GWERACTI;
    @TableField(fill = FieldFill.INSERT)
    private String GWERUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWERGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWERMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWERTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = DateUtils.PATTERN_yyyy_MM_dd)
    private LocalDate GWERDATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWERORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWERORIU;
    private String GWERMLEGAL;


    @Override
    protected Serializable pkVal() {
        return this.GWERENT;
    }

}
